class Question < ActiveRecord::Base

  hobo_model
  
  has_many :answers
  
  belongs_to :user
  belongs_to :questionnaire
  acts_as_list :scope => :questionnaire 



  # --- Hobo Permissions --- #

  def creatable_by?(creator)
    false
  end

  def updatable_by?(updater, new)
    false
  end

  def deletable_by?(deleter)
    false
  end

  def viewable_by?(viewer, field)
    true
  end

end
